package pl.easyshop.core.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import pl.easyshop.core.services.category.CategoryService;
import pl.easyshop.core.services.user.UserService;
import pl.easyshop.core.services.user.group.UserGroupService;

@Component("serviceRegistry")
public class ServiceRegistry {

	@Autowired
	private CategoryService categoryService;
	
	@Autowired
	private UserService userService;
	
	@Autowired
	private UserGroupService userGroupService;
	
	public CategoryService getCategoryService() {
		return this.categoryService;
	}
	
	public UserService getUserService() {
		return this.userService;
	}
	
	public UserGroupService getUserGroupService() {
		return this.userGroupService;
	}
}
